<?php
	session_start();
	include '../../config.php';
	if($_SESSION[SALT_ADMIN.'_LOGIN']!='OK')
	{
		header('Location: ../user/login.php');
		$_SESSION['SAVE'] = $_SERVER['REQUEST_URI'];
		exit;
	}
	
	function thong_bao() {
		if ($_SESSION['msg'] != '') {
			
			echo '<div class="notification '.$_SESSION['type_msg'].' png_bg">
					<a href="#" class="close"><img src="../hinh_anh/cross_grey_small.png" title="Đóng họp thông báo" alt="close" /></a>
					<div>'.$_SESSION['msg'].'</div>
				</div>';
			
			$_SESSION['msg'] = '';
		}
	}
?>